Skip to content

Conversation

@evil159
Copy link
Contributor

@evil159 evil159 commented Oct 6, 2025

What does this pull request do?

Adds DistanceUnits enum with new option to display nautical units(nautical miles, fathoms) in scale bar.

What is the motivation and context behind this change?

Addresses: https://mapbox.atlassian.net/browse/MAPSFLT-402

Pull request checklist:

  • Add a changelog entry.
  • Write tests for all new functionality. If tests were not written, please explain why.
  • Add documentation comments for any added or updated public APIs.

PRs must be submitted under the terms of our Contributor License Agreement CLA.

@evil159 evil159 requested a review from a team as a code owner October 6, 2025 14:30
@evil159 evil159 requested a review from pjleonard37 October 6, 2025 14:30
maios
maios previously approved these changes Oct 6, 2025
pjleonard37
pjleonard37 previously approved these changes Oct 16, 2025
@maios maios linked an issue Oct 17, 2025 that may be closed by this pull request
@evil159 evil159 dismissed stale reviews from pjleonard37 and maios via ee6b592 November 17, 2025 13:43
@evil159 evil159 requested review from maios and pjleonard37 November 17, 2025 13:44
@evil159 evil159 enabled auto-merge (squash) November 17, 2025 13:50
@evil159 evil159 merged commit 6492d02 into main Nov 17, 2025
7 checks passed
@evil159 evil159 deleted the rl/nautical_miles branch November 17, 2025 14:09
evil159 added a commit that referenced this pull request Nov 17, 2025
* Add nautical miles scale bar distance unit

* add changelog entry
@evil159 evil159 mentioned this pull request Nov 17, 2025
3 tasks
evil159 added a commit that referenced this pull request Nov 17, 2025
* Nautical miles (#1042)

* Add nautical miles scale bar distance unit

* add changelog entry

* update changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature request] ScaleBar nautical miles

3 participants